import { createGlobalStyle } from 'styled-components'

export const GlobalStyle = createGlobalStyle`
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    /* vertical-align: baseline; */
    box-sizing: border-box;
    font-family: "Source Han Sans","微软雅黑","microsoft yahei","HanHei SC",PingHei,"PingFang SC",sans-serif;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-size: 12px;
    color:#4e4e4e ;
    min-width:1024px ;
    min-height: 760px;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* custom */
a {
    color: #7e8c8d;
    text-decoration: none;
    backface-visibility: hidden;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track-piece {
    background-color: #fff;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 5px;
    background-color: #c0c5c8;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 5px;
    background-color: rgba(125, 125, 125, 0.7);
    border-radius: 6px;
}
input[type='password']::-ms-reveal,
input[type='password']::-ms-clear {
    display: none;
}
html, body {
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #333;
}

body {
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input{
	font-size:12px
}
.m-table-body {
    font-size: 12px ;
    min-height:100px;
    overflow-x: hidden ;
    tr,tr.tr-selected{
        height:30px;
        td{
            height:30px;
            font-size: 12px ;
            .m-table-link{
                text-decoration: underline;
                height: 14px;
            }
        }
    }
    tr:hover td {
        font-size: 12px !important;
    }
    tr th, tr th .cell{
        font-weight: normal;
    }
}
.creat-container {
  display: flex;
  flex-direction: column-reverse;
  position: fixed;
  top: 60px;
  right: 40px;
}
@keyframes slideIn {
  from {
    transform: translateY(-100%)
  }
  to {
    transform: translateY(0)
  }
}
.notification {
  width: 300px;
  height: 80px;
  overflow: hidden;
  padding: 12px 48px 12px 12px;
  z-index: 99;
  font-weight: bold;
  position: relative;
  background-color: #fff;
  transition: transform .3s ease-out;
  border: 1px solid #ccc;
}
 .slideIn {
  animation-name: slideIn;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
}
 .slideOut  {
  transform: translateX(150%);
  flex: 0;
}
.closeButton {
  position: absolute;
  top: 20px;
  right: 12px;
  height: 16px;
  /* transform: translateY(-50%); */
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  color: #ccc;
  outline: none;
}


.closeButton:not(:last-child) {
  margin-bottom: 8px;
}

.notify-info{
  color:#09a206 ;
}
.notify-warning{
  color: #d21e1e;
  font-weight: 400;
}
.container {
  overflow: hidden;
  /* max-height: 200px; */
  transition: height .3s ease-out;
}
.shrink {
  max-height: 0;
  margin-bottom: 0!important;
}
.container {
  margin-bottom: 8px;
}
.notification-title{

}
.notification-content{
  margin-top: 30px;
  margin-left: 10px;
}

`
